View Issue Details

IDProjectCategoryView StatusLast Update
0001480T99X171.00 SKB EagleSW Issuepublic2022-07-29 08:32
Reporter(ALTech) Younkwang Jung Assigned To(SW) Jim Chen Due Date2022-06-03 08:53
PriorityhighSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001480: [Smart3][BMT issue] There's no sound issue when watching Live Channel After TJ karaoke(TJ 노래방)
DescriptionHi Kerwin

There's no sound issue when watching Live Channel After TJ karaoke(TJ 노래방)
JIRA is
https://jira.skbroadband.com/browse/BTVQ-33220

The reproduction step is as follows.
1) run zemkids
2) "TJ karaoke" by using NUGU at zemkids
3) play music
4) exit "TJ karaoke"
5) There's no sound issue at Live Channel

It is said that this issue occurs only for FXN model.
please check it quickly

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon , (SW) Brent Choi , (SW) Kerwin Chen

Activities

(ALTech) Younkwang Jung

2022-05-20 08:26

developer  

(ALTech) Younkwang Jung

2022-05-31 17:34

developer   ~0010100

Hi Jim

Please let me know the progress of this issue.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-06-07 08:49

developer   ~0010111

Last edited: 2022-06-07 08:50

View 2 revisions

Hi Jim

please reminder this ticket.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-06-14 08:03

developer   ~0010165

Hi Jim

Please let me know the progress of this issue.

Thank you
YK.Jung

(SW) Jim Chen

2022-06-14 09:14

developer   ~0010167

1. sometimes some thread doesn't stop after HOME key hit whn TJ playing.
2. after 1, when enter live TV, (a) no audio, (b) black screen, (c) normal
I'm not sure if 1 fixed, 2 will also be fixed.
now I'm trying to add workaround to fix 1 but still not succeed yet.

(ALTech) Younkwang Jung

2022-06-16 12:55

developer   ~0010188

Hi Jim

When can you solve this issue?
SKB keeps asking about the issue.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-06-21 07:40

developer   ~0010215

Hi Jim

Please let me know the progress of this issue.
And when can you solve this issue?

Thank you
YK.Jung

(SW) Jim Chen

2022-06-21 08:49

developer   ~0010218

There's a workaround to quit audioserver when something went wrong.
But it will also generate tombstones.
I'm trying for better solution
I think I will need one more week.

(SW) Jim Chen

2022-06-24 14:01

developer   ~0010241

Hi Mr.
Here's the workaround trying to end the non-stop process.
I tried it with 533r14
Please replace /vendor/lib/hw/audio.primary.amlogic.so and verify the issue on your site.
audio.primary.amlogic.so (386,352 bytes)

(ALTech) Younkwang Jung

2022-06-28 14:49

developer   ~0010253

Hi Jim

QA confirmed that the issue has been resolved.
Before committing, I need to report to SKB how FXN solved it.

Please describe the cause and how it was resolved in detail.

Thank you
YK.Jung

(SW) Jim Chen

2022-06-28 16:44

developer   ~0010257

Hi Mr.
Sometimes a submixing process doesn't end after TJ exited.
In normal case, it is stopped by out_standby_subMixingPCM().
we called out_standby_subMixingPCM() again when the condition is detected.

(ALTech) Younkwang Jung

2022-06-28 18:49

developer   ~0010258

Hi Jim

Is it okay to call out_standby_subMixingPCM() function several times?
and I hope to know if your modification applies to all movements or just in this case.

Thank you
YK.Jung

(SW) Jim Chen

2022-06-29 15:55

developer   ~0010264

Hi Mr.

1. There's a standby flag and mutex production in out_standby_subMixingPCM(),
So duplicated calling should be fine.

2. The workaround does not only applied just in the case.
Another case is, simply enter TJ, hit back, and hit center-key to confirm the leave.

from the log, the timing of out_standby_subMixingPCM() is moved 2s earier.
It's more likely to prevent to do the following at the same time.
(A)finish of mixing audio(for MIC) resource
(B)init of normal audio resource (home preview video)

06-29 15:31:40.888 3514 8670 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
06-29 15:31:40.909 3514 8670 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
===> ......... same messages repeat ......
06-29 15:31:41.318 3514 8670 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
===> count=20
06-29 15:31:41.340 3514 8670 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
===> workaround trigger
06-29 15:31:41.340 3514 8670 E audio-subMixingFactory: WD1 BARK!
===> 1st called by Jim
06-29 15:31:41.340 3514 8670 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf145e000) usecase: [0]PCM_NORMAL
06-29 15:31:41.362 3514 8670 W audio-subMixingFactory: out_get_presentation_position_port(), pts not valid yet
===> 2nd called by original flow(2s later), it will return directly since the standby flag is already true
06-29 15:31:43.575 3514 3785 D audio-subMixingFactory: out_standby_subMixingPCM: out_stream(0xf145e000) usecase: [0]PCM_NORMAL

(ALTech) Younkwang Jung

2022-06-29 17:31

developer   ~0010266

HI Jim

Thank you for the detailed explanation.
Please apply it to the main branch. (Smart3 and UHD4)
The SKB manager will also review it again.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2022-07-14 17:43

developer   ~0010374

HI Jim

This issue is reoccurring during the v15.534.14 version test.
Now it's a black screen issue
The final FW should be ready by tomorrow , so please check this issue quickly.

Thank you
YK.Jung
TJSHM3.mp4 (9,974,353 bytes)   

(ALTech) Younkwang Jung

2022-07-14 17:53

developer   ~0010375

Hi Jim

And
Attached is the log that was retested by QA team at v15.534.14
Please check it quickly.

Thank you
YK.Jung
logcat.log (5,376,301 bytes)

(ALTech) Younkwang Jung

2022-07-19 08:45

developer   ~0010404

Hi Jim

As a result of analyzing this issue, it is SPTEK or Digicap issue.
Currently, this issue has been assigned as SPTEK as low priority.
I will update it again when it is assigned to us.

Thank you
YK.Jung

Issue History

Date Modified Username Field Change
2022-05-20 08:26 (ALTech) Younkwang Jung New Issue
2022-05-20 08:26 (ALTech) Younkwang Jung Status new => assigned
2022-05-20 08:26 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2022-05-20 08:26 (ALTech) Younkwang Jung File Added: BFX-AT100_20220520-091222.zip
2022-05-20 08:27 (ALTech) Younkwang Jung Issue Monitored: (SW) Brent Choi
2022-05-20 08:27 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-05-20 08:27 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-05-20 08:28 (ALTech) Younkwang Jung Description Updated View Revisions
2022-05-23 08:47 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jim Chen
2022-05-31 07:54 (ALTech) Younkwang Jung Due Date => 2022-06-03 08:53
2022-05-31 17:34 (ALTech) Younkwang Jung Note Added: 0010100
2022-06-07 08:49 (ALTech) Younkwang Jung Note Added: 0010111
2022-06-07 08:49 (ALTech) Younkwang Jung Issue Monitored: (SW) Kerwin Chen
2022-06-07 08:50 (ALTech) Younkwang Jung Note Edited: 0010111 View Revisions
2022-06-14 08:03 (ALTech) Younkwang Jung Note Added: 0010165
2022-06-14 09:14 (SW) Jim Chen Note Added: 0010167
2022-06-16 12:55 (ALTech) Younkwang Jung Note Added: 0010188
2022-06-21 07:40 (ALTech) Younkwang Jung Note Added: 0010215
2022-06-21 08:49 (SW) Jim Chen Note Added: 0010218
2022-06-24 14:01 (SW) Jim Chen File Added: audio.primary.amlogic.so
2022-06-24 14:01 (SW) Jim Chen Note Added: 0010241
2022-06-28 14:49 (ALTech) Younkwang Jung Note Added: 0010253
2022-06-28 16:44 (SW) Jim Chen Note Added: 0010257
2022-06-28 18:49 (ALTech) Younkwang Jung Note Added: 0010258
2022-06-29 15:55 (SW) Jim Chen Note Added: 0010264
2022-06-29 17:31 (ALTech) Younkwang Jung Note Added: 0010266
2022-07-14 17:43 (ALTech) Younkwang Jung File Added: Debug_2022-07-12-17-16-18.txt
2022-07-14 17:43 (ALTech) Younkwang Jung File Added: TJSHM3.mp4
2022-07-14 17:43 (ALTech) Younkwang Jung Note Added: 0010374
2022-07-14 17:53 (ALTech) Younkwang Jung File Added: logcat.log
2022-07-14 17:53 (ALTech) Younkwang Jung Note Added: 0010375
2022-07-19 08:45 (ALTech) Younkwang Jung Note Added: 0010404
2022-07-29 08:32 (ALTech) Younkwang Jung Status assigned => closed
2022-07-29 08:32 (ALTech) Younkwang Jung Resolution open => fixed